package org.ovirt.microvirt.beans.plan;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.OneToOne;

import org.ovirt.microvirt.beans.Host;
import org.ovirt.microvirt.beans.situation.HostState;

@Entity
@DiscriminatorValue("host")
public class HostStateRequirement extends Requirement {
	@OneToOne
	Host host;
	HostState state;
	public Host getHost() {
		return host;
	}
	public void setHost(Host host) {
		this.host = host;
	}
	public HostState getState() {
		return state;
	}
	public void setState(HostState state) {
		this.state = state;
	}
}
